SET OBJECT FRAME

This command will set the animation frame of the specified 3D object.

  Syntax
SET OBJECT FRAME Object Number, Frame
SET OBJECT FRAME Object Number, Frame, Recalculate Bounds
  Parameters
Object Number
Integer
The object number
Frame
Float
The frame number
Recalculate Bounds
Integer
A Recalculate Bounds value; 1-recalc only current frame, 2-recalc all frames, 3-recalc all frames and no frame zero shift

  Returns

This command does not return a value.

  Description

The object number should be specified using an integer value. The frame number should be specified using a real number. A Recalculate Bounds Flag value of one will regenerate the bounds of the current frame, a value of two will regenerate the bounds of all the animation frames. A value of three will generate all the animation frame bounds, but will not shift the object bound based on the frame zero offset which is the default behaviour.

  Example Code
load object "animating.x",1
show object bounds 1
set object frame 1,0,3
wait key
  See also

BASIC3D Commands Menu
Index